package com.beardedhen.harmonybootstrap.api.view;

import com.beardedhen.harmonybootstrap.api.attributes.BootstrapHeading;
import ohos.global.resource.NotExistException;
import ohos.global.resource.WrongTypeException;

import java.io.IOException;

/**
 * The interface Bootstrap heading view.
 */
public interface BootstrapHeadingView {

    /**
     * Sets this view to use the given Bootstrap Heading, changing its text size and padding.
     *
     * @param bootstrapHeading the bootstrap heading
     * @throws NotExistException  the not exist exception
     * @throws WrongTypeException the wrong type exception
     * @throws IOException        the io exception
     */
    void setBootstrapHeading( BootstrapHeading bootstrapHeading) throws NotExistException, WrongTypeException, IOException;

    /**
     * Gets bootstrap heading.
     *
     * @return the bootstrap heading
     */
    BootstrapHeading getBootstrapHeading();
}
